﻿using CoreTools.Domain.Entity;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoreTools.EntityFrameworkCore
{
    public class EfCoreDbContext : DbContext
    {
        public EfCoreDbContext(DbContextOptions options)
         : base(options)
        {
        }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
        }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            base.OnConfiguring(optionsBuilder);
        }


        #region 实体映射

        public DbSet<UserInfoEntity> UserInfoEntity { get; set; }

        #endregion
    }
}
